﻿using System;
using RpcModel;
using RpcModularModel.Accredit;
using RpcModularModel.Accredit.Model;

namespace RpcSyncService.Interface
{
    public interface IAccreditServer
    {
        AccreditDatum GetAccredit(Guid accreditId, MsgSource source);
        ApplyAccreditRes ApplyAccredit(ApplyAccredit apply, MsgSource source);
        void CancelAccredit(Guid accreditId, string checkKey);
        void Cancel(Guid[] accreditId);
        void CheckAccredit(CheckAccredit obj);
        void KickOutAccredit(string checkKey);
        SetUserStateRes SetUserState(SetUserState obj);
        ApplyAccreditRes ToUpdate(SetAccredit obj);
    }
}